<div class="row">
<div class="col-xs-12">
	<div class="box">
		<div class="box-header">
			<form id="auto-query-form" class="form-inline" method="post" role="form">
				<div class="form-group">
					<label class="control-label" for="query.keyword">关键字</label>
					<input id="query.keyword" name="query.keyword" placeholder="请输入关键字" class="form-control"/>
				</div>
				<div class="form-group">
					<label class="control-label" for="query.type">反馈类型</label>
					#@dict_select("query.type","","FEEDBACK_TYPE",true,"反馈类型","")
				</div>
				<div class="form-group">
					<label class="control-label" for="query.state">反馈状态</label>
					#@dict_select("query.state","","FEEDBACK_STATE",true,"反馈状态","")
				</div>		
				<div class="form-group">
					<label class="control-label" for="query.stime">反馈时间</label>
					<input id="query.stime" name="query.stime" value="#(query.stime??)" placeholder="反馈时间始" class="form-control date" datetimepicker="yyyy-mm-dd" maxlength="19"/>
					<label class="control-label" for="query.etime">至</label>
					<input id="query.etime" name="query.etime" value="#(query.etime??)" placeholder="反馈时间止" class="form-control date" datetimepicker="yyyy-mm-dd" maxlength="19"/>
				</div>							
				<div class="form-group">
					#@query_btn()
				</div>
			</form>
		</div>

		<div class="box-body">
			<table id="auto_data_table" class="table table-striped table-hover table-bordered dataTable no-footer" width="100%">
			</table>
		</div>

		<div class="box-footer text-center">
			#@auth_btn("edit","回复","schedule/index",true,"btn-warning","fa fa-reply")
			#@del_btn("feedback/index",true)
		</div>
	</div>
</div>
</div>
<script type="text/javascript">
	$(document).ready(function() {
		$('#auto_data_table').autoDataTable({
			controller : "feedback",
			title : "系统反馈",
			columns : [
			   { "data" : "title", "name" : "title", "title" : "反馈主题" },
			   { "data" : "type", "name" : "type", "title" : "反馈类型" , "render" : function(data, type, row) {
	                return dict_name("FEEDBACK_TYPE",data);
	            }},
			   { "data" : "user_name", "name" : "user_name", "title" : "反馈人名称" },
			   { "data" : "ctime", "name" : "ctime", "title" : "反馈日期"  ,render : function(data, type, row, meta) {
	                return dateConvert(data,"yyyy-mm-dd hh:ii");
	            } },
			   { "data" : "state", "name" : "state", "title" : "反馈状态" , "render" : function(data, type, row) {
	                return dict_name("FEEDBACK_STATE",data);
	            }}
			]
		});
	});
</script>